/**
* @author:kellen
* @contact:xiekellen@hotmail.com
* @company:achivo-gz
* @created on:
* @modified on:
*/

package com.sasis.dao;

import java.util.List;

import com.sasis.dao.Dao;
import com.sasis.model.NoteTemplate;

public interface NoteTemplateDao extends Dao {

    /**
     * Retrieves all of the noteTemplates
     */
    public List getNoteTemplates(NoteTemplate noteTemplate);

    /**
     * Gets noteTemplate's information based on primary key. An
     * ObjectRetrievalFailureException Runtime Exception is thrown if 
     * nothing is found.
     * 
     * @param id the noteTemplate's id
     * @return noteTemplate populated noteTemplate object
     */
    public NoteTemplate getNoteTemplate(final Integer id);

    /**
     * Saves a noteTemplate's information
     * @param noteTemplate the object to be saved
     */    
    public void saveNoteTemplate(NoteTemplate noteTemplate);

    /**
     * Removes a noteTemplate from the database by id
     * @param id the noteTemplate's id
     */
    public void removeNoteTemplate(NoteTemplate noteTemplate);
}

